package nancal.mp.db.mongo.entity.dev

import nbcp.base.db.CodeName
import nbcp.base.db.annotation.Cn
import nbcp.base.db.annotation.DbEntityGroup
import nbcp.base.model.ApiDocDefine
import nbcp.base.model.BaseIdEntity
import org.springframework.data.mongodb.core.mapping.Document
import java.time.LocalDateTime

/**
 * --
 * @author yuxh
 */
@Document
@DbEntityGroup("dev")
@Cn("Api定义")
class ApiDefine : ApiDocDefine() {
    var id: String = ""

    @Cn("产品线")
    var productLine: CodeName = CodeName()

    @Cn("创建时间")
    var createAt: LocalDateTime = LocalDateTime.now()

    @Cn("更新时间")
    var updateAt: LocalDateTime = LocalDateTime.now()
}